package org.zfes.snowier.common.monitor.config.ws.dto;

import java.io.Serializable;
import java.util.List;

public class BarChartDto implements Serializable{
//	
//	series: [{
//		name: '微信',
//		data: [88.9, 58.8, 79.3, 41.4, 38.6, 59.0, 59.6, 65.2, 59.3, 87.5, 59.3, 51.2]
//	}, {
//		name: '支付宝',
//		data: [83.6, 78.8, 78.5, 63.4, 56.0, 84.5, 55.0, 58.3, 91.2, 83.5, 86.6, 92.3]
//	}, {
//		name: '银行卡',
//		data: [48.9, 38.8, 39.3, 41.4, 47.0, 48.3, 59.0, 59.6, 52.4, 65.2, 59.3, 51.2]
//	}, {
//		name: '现金',
//		data: [42.4, 33.2, 34.5, 39.7, 52.6, 75.5, 57.4, 60.4, 47.6, 39.1, 46.8, 51.1]
//	}]

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	public BarChartDto(String name, List<Double> data) {
		super();
		this.name = name;
		this.data = data;
	}
	private String name;
	private List<Double> data;
	
	
	public String getName() {
		return name;
	}
	public BarChartDto setName(String name) {
		this.name = name;
		return this;
	}
	public List<Double> getData() {
		return data;
	}
	public BarChartDto setData(List<Double> data) {
		this.data = data;
		return this;
	}
	
}
